package com.lianxin.fmank_backstage.controller;

import com.lianxin.fmank_backstage.pojo.TrafficAnalyRes;
import com.lianxin.fmank_backstage.service.TrafficAnalyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TrafficAnalyController {

    @Autowired
    TrafficAnalyService trafficAnalyService;
    @RequestMapping("/presto/trafanalytb")
    public TrafficAnalyRes getTrafficAnalyTable(String dt1,String dt2){
        TrafficAnalyRes tb = trafficAnalyService.getTrafficAnalyTable(dt1, dt2);
        return tb;
    }
}
